<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl . "/js/jquery.placeholder.js", CClientScript::POS_HEAD); ?>
<?php $this->beginContent('//layouts/header'); ?> <?php $this->endContent(); ?> 
<?php $this->beginContent('//layouts/mainnav'); ?> <?php $this->endContent(); ?>
<div class="breadcrumbs wp">
    <?php
    $this->widget('zii.widgets.CBreadcrumbs', array(
        'links' => array('关于灵动生活' => array('about/index'), $this->title),
        'separator' => '&nbsp;&gt;&nbsp;'
    ));
    ?>
</div>
<div class="wp cl">
    <div class="area208 z">
        <div><img src="<?php echo Yii::app()->baseUrl;?>/images/about_side.png"/></div>
        <?php
        $this->widget('zii.widgets.CMenu', array(
            'items' => array(
                array('label' => '关于灵动', 'url' => 'javascript:void(0);',
                    'items' => array(
                        array('label' => '公司简介','url'=>array('about/index','s'=>'company'),'active' => $this->s == 'company'),
                        array('label' => '企业文化','url'=>array('about/index','s'=>'culture'),'active' => $this->s == 'culture'),
                        array('label' => '企业招聘','url'=>array('about/index','s'=>'recruitment'),'active' => $this->s == 'recruitment'),
                        array('label' => '联系我们','url'=>array('about/index','s'=>'contact'),'active' => $this->s == 'contact'),
                    ),
                    
                ),
                array('label' => '售后服务', 'url' => 'javascript:void(0);',
                    'items' => array(
                        array('label' => '维权流程','url'=>array('about/index','s'=>'adults'),'active' => $this->s == 'adults'),
                        array('label' => '订餐流程','url'=>array('about/index','s'=>'ordering'),'active' => $this->s == 'ordering'),
                        array('label' => '订餐贴士','url'=>array('about/index','s'=>'tips'),'active' => $this->s == 'tips'),
//                        array('label' => '企业招聘','url'=>array('site/index'),'active' => $this->s == 'company'),
                    ),
                ),
                array('label' => '商务合作', 'url' => 'javascript:void(0);',
                    'items' => array(
                        array('label' => '营销平台','url'=>array('about/index','s'=>'platform'),'active' => $this->s == 'platform'),
                        array('label' => '市场合作','url'=>array('about/index','s'=>'cooperation'),'active' => $this->s == 'cooperation'),
//                        array('label' => '美食联盟','url'=>array('about/index','s'=>'tips'),'active' => $this->s == 'company'),
                        array('label' => '快速配送','url'=>array('about/index','s'=>'distribution'),'active' => $this->s == 'distribution'),
                    ),
                ),
            ),
            'activeCssClass' => 'on',
            'htmlOptions' => array(
                'id' => 'about-nav',
                'class' => 'aboutside'
            ),
            'itemTemplate'=>'{menu}<span class="cmicons"></span>'
        ));
        ?>
    </div>
    <div class="area982 y">
        <div class="content">
            <div class="header"><?php echo $this->title;?></div>
            <div class="body"><?php echo $content; ?></div>
        </div>
    </div>
</div>
<?php if (!Yii::app()->user->isGuest): ?>
    <script>
        $(document).ready(function() {
            ajaxGet('.store-list-box', 'getUserCart', 'account', 'html');
        });
    </script>
<?php endif; ?>
<?php $this->beginContent('//layouts/footer'); ?> <?php $this->endContent(); ?>   
